package com.ywd.materials.admin.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 角色关联菜单表实体类
 */
@Accessors(chain = true)
@Data
@TableName("admin_role_menu")
@Schema(description = "角色关联菜单表实体类")
public class AdminRoleMenuEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色关联菜单ID
     */
    @Schema(description = "角色关联菜单ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 角色ID
     */
    @Schema(description = "角色ID")
    private Long roleId;

    /**
     * 菜单ID
     */
    @Schema(description = "菜单ID")
    private Long menuId;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private String createTime;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private String updateTime;
}
